home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / StdEnv / StdCharList.dcl < prev    next >
Text File  |  1996-12-23  |  786b  |  16 lines

  1. definition module StdCharList
  2.  
  3. // ****************************************************************************************
  4. //    Concurrent Clean Standard Library Module Version 1.1
  5. //    Copyright 1995 University of Nijmegen
  6. // ****************************************************************************************
  7.  
  8. cjustify    :: !.Int ![.Char] -> .[Char] // Center [Char] in field with width arg1
  9. ljustify    :: !.Int ![.Char] -> .[Char] // Left justify [Char] in field with width arg1
  10. rjustify    :: !.Int ![.Char] -> [Char]     // Right justify [Char] in field with width arg1
  11.  
  12. flatlines    :: ![[u:Char]] -> [u:Char]     // Concatenate by adding newlines
  13. mklines     :: ![Char] -> [[Char]]         // Split in lines removing newlines
  14.  
  15. spaces        :: !.Int -> .[Char]             // Make [Char] containing n space characters
  16.